package com.fowo.api.model.purchase;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import javax.validation.constraints.*;
import lombok.Data;

/**
 * 采购计划 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Data
public class PurchasePlansImportPo {

  /** 创建批次号 */
  @ExcelProperty("创建批次号")
  @Size(max = 50, message = "创建批次号长度不能超过50")
  private String ppgSn;

  /** 计划采购量 */
  @ExcelProperty("计划采购量")
  @LongString(message = "计划采购量数值格式不正确", label = "计划采购量")
  private String quantityPlan;

  /** 批次备注 */
  @ExcelProperty("批次备注")
  @Size(max = 50, message = "批次备注长度不能超过50")
  private String remark;
}
